package com.jiazhong.Model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
@Data
@AllArgsConstructor//生成有参构造函数
@NoArgsConstructor//生成无参构造函数
public class Goods /*extends A*/{
    //Goods商品属性
    private Integer goods_id;
    private String goods_name;
    private Double goods_price;
    private Date goods_time;
    //用于测试反射
    /*public Integer goods_id;
    protected String goods_name;
    Double goods_price;
    private Date goods_time;
    public String getMsg(){return "Hello";}*/
}
